class BlackDeathInfo extends GameInfo;

/*
function GenericPlayerInitialization(Controller C)//Function removed from summer class, can't use but can look at to figure out
{
    bUseClassicHUD = true; //Have to set this so that when we call super.GenericPlayerInitialization it doesn't override our changes.
    HUDType = class'BDGFxHudWrapper';
    super.GenericPlayerInitialization(C);
    bUseClassicHUD = false; //Set it back so we know we aren't using classicHUD
}
*/

function StartMatch()
{
	Super.StartMatch();
	SetTimer(1.0, true, 'checkplayer');
}

function checkPlayer()
{
	local BlackDeathPlayerController BDPC;
	foreach Allactors(class'BlackDeathPlayerController', BDPC)
	{
		if(BDPC.isDead())
		{
			ResetLevel();
		}
	}
}

DefaultProperties
{
	bRestartLevel=false; //alows the player to respawn at the start of the level
	bDelayedStart=false
	bWaitingToStartMatch=true
	PlayerControllerClass = class'BlackDeath.BlackDeathPlayerController'
	DefaultPawnClass = class 'BlackDeath.BlackDeathHeroPawn'
	HUDType = class 'BlackDeath.BD_HUD'
}
